using System;
using System.Collections.Generic;
using DapperExtensions.Mapper;
using MHI.InspectionManager.Interfaces; 

namespace MHI.InspectionManager.Data
{
	public class DevJobteamsTMapper : ClassMapper<DevJobteamsT>
	{
		public DevJobteamsTMapper()
		{
			Table("dev_jobteams_t");
			Map(f => f.Id).Column("id").Key(KeyType.Assigned);
			Map(f => f.TeamName).Column("team_name");
			Map(f => f.TeamType).Column("team_type");
			Map(f => f.ParentTeam).Column("parent_team");
			Map(f => f.Department).Column("department");
			Map(f => f.WorkStart).Column("work_start");
			Map(f => f.WorkEnd).Column("work_end");
			Map(f => f.GmtCreated).Column("gmt_created");
			Map(f => f.PersonModified).Column("person_modified");
			Map(f => f.GmtModified).Column("gmt_modified");
			Map(f => f.StateInfo).Column("state_info");
			Map(f => f.IsUse).Column("is_use");
			Map(f => f.Version).Column("version");
		}
	}
}
